package com.example.compare;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Getter
@Setter
public class PeopleInfoForJson {
    @Getter
    @Setter
    public static class Phone {
        private String number;
        enum PhoneType {
            MP, TEL
        }
        private PhoneType type;
    }
    @Getter
    @Setter
    public static class Address {
        private String homeAddress;
        private String unitAddress;
    }

    private String name;
    private int age;
    private List<Phone> phones = new ArrayList<>();
    private Address address;
    private String qq;
    private String wechat;
    Map<String, String> remark = new HashMap<>();
}

